import Vue from 'vue'
import ElementUI from 'element-ui'
import { DatePicker } from 'ant-design-vue';
import App from './App'
import 'element-ui/lib/theme-chalk/index.css'
import 'ant-design-vue/dist/antd.css'
import { library } from '@fortawesome/fontawesome-svg-core'
import { fas } from '@fortawesome/free-solid-svg-icons'
import { far } from '@fortawesome/free-regular-svg-icons'
import { fab } from '@fortawesome/free-brands-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import moment from 'moment'
import "moment/dist/locale/zh-cn"
import "./icons"
moment.locale('zh-cn')

Vue.config.productionTip = false

library.add(fas, far, fab)
Vue.use(ElementUI)
Vue.use(DatePicker);

Vue.component('font-awesome-icon', FontAwesomeIcon)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  template: '<App/>',
  components: { App }
})
